package cn.doitedu.yingxiao;

/**
 * CREATE TABLE `hongbao_info` (
 *   `id` int(11) NOT NULL AUTO_INCREMENT,
 *   `name` varchar(255) DEFAULT NULL,
 *   `amount` varchar(20) DEFAULT NULL,
 *   `user_id` int(11) DEFAULT NULL,
 *   `status` int(20) DEFAULT NULL COMMENT '0未使用 1已使用 2已失效',
 *   `start_time` varchar(20) DEFAULT NULL,
 *   `end_time` varchar(20) DEFAULT NULL,
 *   PRIMARY KEY (`id`)
 * ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
 */
public class HongBao {
    private Integer id;
    private String name;
    private Double amount;
    private Integer user_id;
    private Integer status;
    private String start_time;
    private String end_time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }
}
